package cn.cdeden.knowledge.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @description  : 在线编辑器模块
 * @author  : Yu.
 * @date : 2022/10/28
 */
@Component
public class OnlineConfig {

    @Value("${write.online:http://127.0.0.1}")
    private String write; //畅写地址

    @Value("${write.onlyOffice:http://127.0.0.1:80}")
    private String onlyOffice; //onlyOffice地址

    @Value("${write.iceblue:http://127.0.0.1:8000}")
    private String iceblue; //冰蓝


    @Value("${fileView.kkFileView:http://127.0.0.1:8012}")
    private String kkFileView; //kkFileView 在线预览地址


    public String getWrite() {
        return write;
    }

    public void setWrite(String write) {
        this.write = write;
    }

    public String getOnlyOffice() {
        return onlyOffice;
    }

    public void setOnlyOffice(String onlyOffice) {
        this.onlyOffice = onlyOffice;
    }

    public String getIceblue() {
        return iceblue;
    }

    public void setIceblue(String iceblue) {
        this.iceblue = iceblue;
    }

    public String getKkFileView() {
        return kkFileView;
    }

    public void setKkFileView(String kkFileView) {
        this.kkFileView = kkFileView;
    }
}
